package functionality;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.concurrent.locks.Lock;

public interface ITransmitter {

	public abstract boolean rm20(PrintWriter out, BufferedReader in, String n,
			String prompt1, String prompt2, String prompt3) throws IOException;

	public abstract String secondAnswer(PrintWriter out, BufferedReader in)
			throws IOException;

	public abstract String dispWghtScl(PrintWriter out, BufferedReader in)
			throws IOException;

	public abstract String dispTxtScl(PrintWriter out, BufferedReader in, String text)
			throws IOException;

	public abstract String zeroScale(PrintWriter out, BufferedReader in)
			throws IOException;

	public abstract String tareScale(PrintWriter out, BufferedReader in)
			throws IOException;

	public abstract String readScale(PrintWriter out, BufferedReader in)
			throws IOException;

	public abstract Lock getLock();

	int getInputUserId(PrintWriter out, BufferedReader in);

	String getInputPassword(PrintWriter out, BufferedReader in);

	String getOprPassword(int id);

}